package chapter2.No2_2_synchronized同步语句块.j数据类型String的常量池特性.demo2;

/**
 * !
 *
 * @author liujian
 * @version 2016/11/14 0014
 */
public class ThreadA extends Thread {
    ServiceClass sc;

    public ThreadA(ServiceClass sc) {
        this.sc = sc;
    }

    @Override
    public void run() {
        sc.methodA("AA");
    }
}
